﻿%
% Danh sách nguyên liệu
%

% ingredient(gao_te).
% ingredient(gao_nep).
% ingredient(khoai_tay).

ingredient(thit_bo).
ingredient(thit_heo).
ingredient(thit_ga).

% ingredient(rau_cai).
% ingredient(hoa_lo).
% ingredient(dau_ha_lan).
% ingredient(dua).

% ingredient(ca_chua).

% ingredient(cui_dua_non).
% ingredient(cui_dua_gia).
% ingredient(nam_huong).

% ingredient(duong_cat).
% ingredient(bot_ca_ri).

% ingredient(ruou_vang).

%
% Món ăn
%

% 1. Món tinh bột
recipe(com_te).
recipe(com_nep).

% 2. Món thịt bò
recipe(thit_bo_sot_vang).
recipe(thit_bo_xao_dua).
recipe(thit_bo_xien_nuong).
recipe(thit_bo_bit_tet).

% 3. Món thịt heo
recipe(thit_lon_luoc).
recipe(thit_lon_kho_nuoc_dua).

recipe(thit_lon_kho_tau).
recipe(thit_lon_xao_rau_cai).
recipe(thit_lon_rang).

% 4. Món thịt gà
recipe(ga_luoc).
recipe(ga_ran).
recipe(ga_nau_khoai_tay).
recipe(ga_nau_ca_ri).
recipe(ga_xao_nam_huong).

% 5. Món canh

% 6. Món khác
recipe(xoi_ruoc).
recipe(xoi_gio_cha).
recipe(xoi_thit).
recipe(xoi_lac).
recipe(xoi_dau_xanh).
recipe(xoi_dau_den).
recipe(xoi_vo).
recipe(xoi_xeo).
recipe(xoi_lua).

recipe(bun_rieu).
recipe(bun_oc).
recipe(bun_ngan).
recipe(bun_cha).
recipe(bun_thang).
recipe(bun_bo_hue).
recipe(bun_bung).
recipe(bun_ca).

recipe(pho_bo).
recipe(pho_ga).

recipe(chao_suon).
recipe(chao_trai).
recipe(chao_ga).
recipe(chao_ca).
recipe(chao_luon).

% 7. Các món nước ngoài



%
% Thành phần nguyên liệu
%


% 1. Món tinh bột
fact(av(ingredients(com_te), [gao_te]), 1).
fact(av(ingredients(com_nep), [gao_nep]), 1).

% 2. Món thịt bò
fact(av(ingredients(thit_bo_sot_vang), [thit_bo, ca_chua, ruou_vang]), 1).
fact(av(ingredients(thit_bo_xao_dua), [thit_bo, dua]), 1).
fact(av(ingredients(thit_bo_xien_nuong), [thit_bo]), 1).
fact(av(ingredients(thit_bo_bit_tet), [thit_bo, khoai_tay]), 1).

% 3. Món thịt heo
fact(av(ingredients(thit_lon_luoc), [thit_heo]), 1).
fact(av(ingredients(thit_lon_kho_nuoc_dua), [thit_heo, cui_dua_non]), 1).
fact(av(ingredients(thit_lon_kho_tau), [thit_heo, duong_cat]), 1).
fact(av(ingredients(thit_lon_xao_rau_cai), [thit_heo, rau_cai]), 1).
fact(av(ingredients(thit_lon_rang), [thit_heo, duong_cat]), 1).

% 4. Món thịt gà
fact(av(ingredients(ga_luoc), [thit_ga]), 1).
fact(av(ingredients(ga_ran), [thit_ga]), 1).
fact(av(ingredients(ga_nau_khoai_tay), [thit_ga, khoai_tay, ca_chua]), 1).
fact(av(ingredients(ga_nau_ca_ri), [thit_ga, cui_dua_gia, bot_ca_ri]), 1).
fact(av(ingredients(ga_xao_nam_huong), [thit_ga,nam_huong,hoa_lo,dau_ha_lan]), 1).

% 5. Món khác
fact(av(ingredients(bun_bo_hue), [thit_bo]), 1).
fact(av(ingredients(pho_bo), [thit_bo]), 1).

fact(av(ingredients(pho_ga), [thit_ga]), 1).
fact(av(ingredients(chao_ga), [gao_nep,thit_ga]), 1).
%
% Năng lượng
%
/*
% 1. Món tinh bột
fact(av(calorie(com_te), low), 1).
fact(av(calorie(com_nep), low), 1).

% 2. Món thịt bò
fact(av(calorie(thit_bo_sot_vang), high), 1).
fact(av(calorie(thit_bo_xao_dua), high), 1).
fact(av(calorie(thit_bo_xien_nuong), high), 1).
fact(av(calorie(thit_bo_bit_tet), high), 1).

% 3. Món thịt heo
fact(av(calorie(thit_lon_luoc), normal), 1).
fact(av(calorie(thit_lon_kho_nuoc_dua), high), 1).
fact(av(calorie(thit_lon_kho_tau), high), 1).
fact(av(calorie(thit_lon_xao_rau_cai), normal), 1).
fact(av(calorie(thit_lon_rang), normal), 1).

% 4. Món thịt gà
fact(av(calorie(ga_luoc), normal), 1).
fact(av(calorie(ga_ran), high), 1).
fact(av(calorie(ga_nau_khoai_tay), high), 1).
fact(av(calorie(ga_nau_ca_ri), high), 1).
fact(av(calorie(ga_xao_nam_huong), high), 1).
*/

%
% Mùi
%
/*
fact(av(odour(com_te), no), 1).
fact(av(odour(com_nep), fragrant), 1).

fact(av(odour(thit_bo_sot_vang), no), 1).
fact(av(odour(thit_bo_xao_dua), no), 1).
fact(av(odour(thit_bo_xien_nuong), fragrant), 1).
fact(av(odour(thit_bo_bit_tet), no), 1).

fact(av(odour(thit_lon_luoc), no), 1).
fact(av(odour(thit_lon_kho_nuoc_dua), no), 1).

fact(av(odour(ga_xao_nam_huong), fragrant), 1).
*/
fact(av(odour(bun_bo_hue), fragant), 1).
fact(av(odour(bun_bung), no), 1).
fact(av(odour(bun_ca), no), 1).
fact(av(odour(bun_cha), no), 1).
fact(av(odour(bun_ngan), no), 1).
fact(av(odour(bun_oc), no), 1).
fact(av(odour(bun_rieu), no), 1).
fact(av(odour(bun_thang), no), 1).
fact(av(odour(chao_ca), no), 1).
fact(av(odour(chao_ga), no), 1).
fact(av(odour(chao_luon), no), 1).
fact(av(odour(chao_suon), no), 1).
fact(av(odour(chao_trai), no), 1).
fact(av(odour(com_nep), fragant), 1).
fact(av(odour(com_te), no), 1).
fact(av(odour(ga_luoc), no), 1).
fact(av(odour(ga_nau_ca_ri), pungent), 1).
fact(av(odour(ga_nau_khoai_tay), no), 1).
fact(av(odour(ga_ran), no), 1).
fact(av(odour(ga_xao_nam_huong), fragant), 1).
fact(av(odour(pho_bo), no), 1).
fact(av(odour(pho_ga), no), 1).
fact(av(odour(thit_bo_bit_tet), fragant), 1).
fact(av(odour(thit_bo_sot_vang), no), 1).
fact(av(odour(thit_bo_xao_dua), no), 1).
fact(av(odour(thit_bo_xien_nuong), no), 1).
fact(av(odour(thit_lon_kho_nuoc_dua), no), 1).
fact(av(odour(thit_lon_kho_tau), no), 1).
fact(av(odour(thit_lon_luoc), no), 1).
fact(av(odour(thit_lon_rang), no), 1).
fact(av(odour(thit_lon_xao_rau_cai), no), 1).
fact(av(odour(xoi_dau_den), no), 1).
fact(av(odour(xoi_dau_xanh), no), 1).
fact(av(odour(xoi_gio_cha), no), 1).
fact(av(odour(xoi_lac), no), 1).
fact(av(odour(xoi_lua), no), 1).
fact(av(odour(xoi_ruoc), no), 1).
fact(av(odour(xoi_thit), no), 1).
fact(av(odour(xoi_vo), no), 1).
fact(av(odour(xoi_xeo), no), 1).

%
% Vị
%


fact(av(taste(com_te), no), 0).
fact(av(taste(com_nep), no), 0).

fact(av(taste(thit_bo_sot_vang), sweet), 1).
fact(av(taste(thit_bo_xao_dua), sour), 1).
fact(av(taste(thit_bo_xien_nuong), no), 0).
fact(av(taste(thit_bo_bit_tet), no), 0).

fact(av(taste(thit_lon_luoc), no), 0).
fact(av(taste(thit_lon_kho_nuoc_dua), sweet), 1).

fact(av(taste(thit_lon_kho_tau),sweet), 1).
fact(av(taste(ga_nau_ca_ri),sweet), 1).



%
% Bữa ăn
%

fact(av(mealTime(com_te), [lunch, dinner]), 1).
fact(av(mealTime(com_nep), [lunch, dinner]), 1).
fact(av(mealTime(thit_bo_sot_vang), [lunch, dinner]), 1).
fact(av(mealTime(thit_bo_xao_dua), [lunch, dinner]), 1).
fact(av(mealTime(thit_bo_xien_nuong), [lunch, dinner]), 1).
fact(av(mealTime(thit_bo_bit_tet), [lunch, dinner]), 1).
fact(av(mealTime(thit_lon_luoc), [lunch, dinner]), 1).
fact(av(mealTime(thit_lon_kho_nuoc_dua), [lunch, dinner]), 1).
fact(av(mealTime(thit_lon_kho_tau), [lunch, dinner]), 1).
fact(av(mealTime(thit_lon_xao_rau_cai), [lunch, dinner]), 1).
fact(av(mealTime(thit_lon_rang), [lunch, dinner]), 1).
fact(av(mealTime(ga_luoc), [lunch, dinner]), 1).
fact(av(mealTime(ga_ran), [lunch, dinner]), 1).
fact(av(mealTime(ga_nau_khoai_tay), [lunch, dinner]), 1).
fact(av(mealTime(ga_nau_ca_ri), [lunch, dinner]), 1).
fact(av(mealTime(ga_xao_nam_huong), [lunch, dinner]), 1).

fact(av(mealTime(xoi_ruoc), [breakfast]), 1).
fact(av(mealTime(xoi_gio_cha), [breakfast]), 1).
fact(av(mealTime(xoi_thit), [breakfast]), 1).
fact(av(mealTime(xoi_lac), [breakfast]), 1).
fact(av(mealTime(xoi_dau_xanh), [breakfast]), 1).
fact(av(mealTime(xoi_dau_den), [breakfast]), 1).
fact(av(mealTime(xoi_vo), [breakfast]), 1).
fact(av(mealTime(xoi_xeo), [breakfast]), 1).
fact(av(mealTime(xoi_lua), [breakfast]), 1).

fact(av(mealTime(bun_rieu), [breakfast, lunch, dinner]), 1).
fact(av(mealTime(bun_oc), [breakfast, lunch, dinner]), 1).
fact(av(mealTime(bun_ngan), [breakfast, lunch, dinner]), 1).
fact(av(mealTime(bun_cha), [breakfast, lunch, dinner]), 1).
fact(av(mealTime(bun_thang), [breakfast, lunch, dinner]), 1).
fact(av(mealTime(bun_bo_hue), [breakfast, lunch, dinner]), 1).
fact(av(mealTime(bun_bung), [breakfast, lunch, dinner]), 1).
fact(av(mealTime(bun_ca), [breakfast, lunch, dinner]), 1).

fact(av(mealTime(pho_bo), [breakfast, lunch, dinner]), 1).
fact(av(mealTime(pho_ga), [breakfast, lunch, dinner]), 1).

fact(av(mealTime(chao_suon), [breakfast, lunch]), 1).
fact(av(mealTime(chao_trai), [breakfast, lunch]), 1).
fact(av(mealTime(chao_ga), [breakfast, lunch]), 1).
fact(av(mealTime(chao_ca), [breakfast, lunch]), 1).
fact(av(mealTime(chao_luon), [breakfast, lunch]), 1).

%
% Độ cứng mềm
%
/*
fact(av(hardness(com_te), tender), 1).
fact(av(hardness(com_nep), tender), 1).
fact(av(hardness(thit_bo_sot_vang), tender), 0.7).
fact(av(hardness(thit_bo_xao_dua), tender), 0.9).
fact(av(hardness(thit_bo_xien_nuong), hard), 1).
fact(av(hardness(thit_bo_bit_tet), hard), 0.9).
fact(av(hardness(thit_lon_luoc), tender), 1).
fact(av(hardness(thit_lon_kho_nuoc_dua), tender), 0.7).
fact(av(hardness(thit_lon_kho_tau), tender), 0.7).
fact(av(hardness(thit_lon_xao_rau_cai), tender), 1).
fact(av(hardness(thit_lon_rang), hard), 1).
fact(av(hardness(ga_luoc), tender), 1).
fact(av(hardness(ga_ran), hard), 1).
fact(av(hardness(ga_nau_khoai_tay), tender), 1).
fact(av(hardness(ga_nau_ca_ri), tender), 1).
fact(av(hardness(ga_xao_nam_huong), tender), 1).
*/


fact(av(hardness(bun_bo_hue), tender), 1).
fact(av(hardness(bun_bung), tender), 1).
fact(av(hardness(bun_ca), tender), 1).
fact(av(hardness(bun_cha), tender), 1).
fact(av(hardness(bun_ngan), tender), 1).
fact(av(hardness(bun_oc), tender), 1).
fact(av(hardness(bun_rieu), tender), 1).
fact(av(hardness(bun_thang), tender), 1).
fact(av(hardness(chao_ca), tender), 1).
fact(av(hardness(chao_ga), tender), 1).
fact(av(hardness(chao_luon), tender), 1).
fact(av(hardness(chao_suon), tender), 1).
fact(av(hardness(chao_trai), tender), 1).
fact(av(hardness(com_nep), hard), 1).
fact(av(hardness(com_te), tender), 1).
fact(av(hardness(ga_luoc), tender), 1).
fact(av(hardness(ga_nau_ca_ri), tender), 1).
fact(av(hardness(ga_nau_khoai_tay), tender), 1).
fact(av(hardness(ga_ran), tender), 1).
fact(av(hardness(ga_xao_nam_huong), tender), 1).
fact(av(hardness(pho_bo), tender), 1).
fact(av(hardness(pho_ga), tender), 1).
fact(av(hardness(thit_bo_bit_tet), tender), 1).
fact(av(hardness(thit_bo_sot_vang), tender), 1).
fact(av(hardness(thit_bo_xao_dua), tender), 1).
fact(av(hardness(thit_bo_xien_nuong), hard), 1).
fact(av(hardness(thit_lon_kho_nuoc_dua), tender), 1).
fact(av(hardness(thit_lon_kho_tau), tender), 1).
fact(av(hardness(thit_lon_luoc), tender), 1).
fact(av(hardness(thit_lon_rang), hard), 1).
fact(av(hardness(thit_lon_xao_rau_cai), tender), 1).
fact(av(hardness(xoi_dau_den), hard), 1).
fact(av(hardness(xoi_dau_xanh), hard), 1).
fact(av(hardness(xoi_gio_cha), hard), 1).
fact(av(hardness(xoi_lac), hard), 1).
fact(av(hardness(xoi_lua), hard), 1).
fact(av(hardness(xoi_ruoc), hard), 1).
fact(av(hardness(xoi_thit), hard), 1).
fact(av(hardness(xoi_vo), tender), 1).
fact(av(hardness(xoi_xeo), tender), 1).

%
% Độ nóng, nguội
%
/*
fact(av(hotcold(com_te), hot), 0).
fact(av(hotcold(com_nep), hot), 1).
fact(av(hotcold(thit_lon_kho_tau), hot), 1).
fact(av(hotcold(thit_lon_xao_rau_cai), hot), 1).
fact(av(hotcold(thit_lon_rang), hot), 1).
fact(av(hotcold(ga_luoc), cold), 1).
fact(av(hotcold(ga_ran), hot), 1).
fact(av(hotcold(ga_nau_khoai_tay), hot), 1).
fact(av(hotcold(ga_nau_ca_ri), hot), 1).
fact(av(hotcold(ga_xao_nam_huong), hot), 1).
*/

fact(av(hotcold(bun_bo_hue), hot), 1).
fact(av(hotcold(bun_bung), hot), 1).
fact(av(hotcold(bun_ca), hot), 1).
fact(av(hotcold(bun_cha), cold), 1).
fact(av(hotcold(bun_ngan), hot), 1).
fact(av(hotcold(bun_oc), hot), 1).
fact(av(hotcold(bun_rieu), hot), 1).
fact(av(hotcold(bun_thang), hot), 1).
fact(av(hotcold(chao_ca), hot), 1).
fact(av(hotcold(chao_ga), hot), 1).
fact(av(hotcold(chao_luon), cold), 1).
fact(av(hotcold(chao_suon), hot), 1).
fact(av(hotcold(chao_trai), hot), 1).
fact(av(hotcold(com_nep), no), 1).
fact(av(hotcold(com_te), no), 1).
fact(av(hotcold(ga_luoc), no), 1).
fact(av(hotcold(ga_nau_ca_ri), hot), 1).
fact(av(hotcold(ga_nau_khoai_tay), no), 1).
fact(av(hotcold(ga_ran), no), 1).
fact(av(hotcold(ga_xao_nam_huong), no), 1).
fact(av(hotcold(pho_bo), no), 1).
fact(av(hotcold(pho_ga), no), 1).
fact(av(hotcold(thit_bo_bit_tet), no), 1).
fact(av(hotcold(thit_bo_sot_vang), hot), 1).
fact(av(hotcold(thit_bo_xao_dua), no), 1).
fact(av(hotcold(thit_bo_xien_nuong), hot), 1).
fact(av(hotcold(thit_lon_kho_nuoc_dua), no), 1).
fact(av(hotcold(thit_lon_kho_tau), no), 1).
fact(av(hotcold(thit_lon_luoc), no), 1).
fact(av(hotcold(thit_lon_rang), no), 1).
fact(av(hotcold(thit_lon_xao_rau_cai), no), 1).
fact(av(hotcold(xoi_dau_den), cold), 1).
fact(av(hotcold(xoi_dau_xanh), cold), 1).
fact(av(hotcold(xoi_gio_cha), no), 1).
fact(av(hotcold(xoi_lac), no), 1).
fact(av(hotcold(xoi_lua), no), 1).
fact(av(hotcold(xoi_ruoc), no), 1).
fact(av(hotcold(xoi_thit), no), 1).
fact(av(hotcold(xoi_vo), no), 1).
fact(av(hotcold(xoi_xeo), no), 1).

%
% Cách chế biến
%

fact(av(cookType(com_te), cook), 1).
fact(av(cookType(com_nep), cook), 1).
fact(av(cookType(thit_bo_sot_vang), cook), 1).
fact(av(cookType(thit_bo_xao_dua), stirfried), 1).
fact(av(cookType(thit_bo_xien_nuong), fried), 1).
fact(av(cookType(thit_bo_bit_tet), cook), 1).
fact(av(cookType(thit_lon_luoc), boiled), 1).
fact(av(cookType(thit_lon_kho_nuoc_dua), cook), 1).
fact(av(cookType(thit_lon_kho_tau), cook), 1).
fact(av(cookType(thit_lon_xao_rau_cai), stirfried), 1).
fact(av(cookType(thit_lon_rang), roast), 1).
fact(av(cookType(ga_luoc), boiled), 1).
fact(av(cookType(ga_ran), fried), 1).
fact(av(cookType(ga_nau_khoai_tay), cook), 1).
fact(av(cookType(ga_nau_ca_ri), cook), 1).
fact(av(cookType(ga_xao_nam_huong), stirfried), 1).

%
% Nhóm món ăn
%

fact(av(group(com_te), rice), 1).
fact(av(group(com_nep), rice), 1).
fact(av(group(thit_bo_sot_vang), meat), 1).
fact(av(group(thit_bo_xao_dua), meat), 1).
fact(av(group(thit_bo_xien_nuong), meat), 1).
fact(av(group(thit_bo_bit_tet), meat), 1).
fact(av(group(thit_lon_luoc), meat), 1).
fact(av(group(thit_lon_kho_nuoc_dua), meat), 1).
fact(av(group(thit_lon_kho_tau), meat), 1).
fact(av(group(thit_lon_xao_rau_cai), meat), 1).
fact(av(group(thit_lon_rang), meat), 1).
fact(av(group(ga_luoc), meat), 1).
fact(av(group(ga_ran), meat), 1).
fact(av(group(ga_nau_khoai_tay), meat), 1).
fact(av(group(ga_nau_ca_ri), meat), 1).
fact(av(group(ga_xao_nam_huong), meat), 1).

fact(av(group(xoi_ruoc), special), 1).
fact(av(group(xoi_gio_cha), special), 1).
fact(av(group(xoi_thit), special), 1).
fact(av(group(xoi_lac), special), 1).
fact(av(group(xoi_dau_xanh), special), 1).
fact(av(group(xoi_dau_den), special), 1).
fact(av(group(xoi_vo), special), 1).
fact(av(group(xoi_xeo), special), 1).
fact(av(group(xoi_lua), special), 1).

fact(av(group(bun_rieu), special), 1).
fact(av(group(bun_oc), special), 1).
fact(av(group(bun_ngan), special), 1).
fact(av(group(bun_cha), special), 1).
fact(av(group(bun_thang), special), 1).
fact(av(group(bun_bo_hue), special), 1).
fact(av(group(bun_bung), special), 1).
fact(av(group(bun_ca), special), 1).

fact(av(group(pho_bo), special), 1).
fact(av(group(pho_ga), special), 1).

fact(av(group(chao_suon), special), 1).
fact(av(group(chao_trai), special), 1).
fact(av(group(chao_ga), special), 1).
fact(av(group(chao_ca), special), 1).
fact(av(group(chao_luon), special), 1).

%Nutritions
%Protein mon an
fact(av(protein(com_te), low),1).
fact(av(protein(com_nep), low),1).
fact(av(protein(thit_bo_sot_vang), high),1).
fact(av(protein(thit_bo_xao_dua), high),1).
fact(av(protein(thit_bo_xien_nuong), high),1).
fact(av(protein(thit_bo_bit_tet), high),1).
fact(av(protein(thit_lon_luoc), high),1).
fact(av(protein(thit_lon_kho_nuoc_dua), high),1).
fact(av(protein(thit_lon_kho_tau), high),1).
fact(av(protein(thit_lon_xao_rau_cai), high),1).
fact(av(protein(thit_lon_rang), high),1).
fact(av(protein(ga_luoc), high),1).
fact(av(protein(ga_ran), high),1).
fact(av(protein(ga_nau_khoai_tay), high),1).
fact(av(protein(ga_nau_ca_ri), high),1).
fact(av(protein(ga_xao_nam_huong), high),1).
fact(av(protein(xoi_ruoc), medium),1).
fact(av(protein(xoi_gio_cha), high),1).
fact(av(protein(xoi_thit), high),1).
fact(av(protein(xoi_lac), high),1).
fact(av(protein(xoi_dau_xanh), high),1).
fact(av(protein(xoi_dau_den), high),1).
fact(av(protein(xoi_vo), medium),1).
fact(av(protein(xoi_xeo), medium),1).
fact(av(protein(xoi_lua), medium),1).
fact(av(protein(bun_rieu), medium),1).
fact(av(protein(bun_oc), high),1).
fact(av(protein(bun_ngan), high),1).
fact(av(protein(bun_cha), high),1).
fact(av(protein(bun_thang), medium),1).
fact(av(protein(bun_bo_hue), high),1).
fact(av(protein(bun_bung), medium),1).
fact(av(protein(bun_ca), high),1).
fact(av(protein(pho_bo), high),1).
fact(av(protein(pho_ga), high),1).
fact(av(protein(chao_suon), medium),1).
fact(av(protein(chao_trai), medium),1).
fact(av(protein(chao_ga), high),1).
fact(av(protein(chao_ca), high),1).
fact(av(protein(chao_luon), high),1).

% fat mon an
fact(av(fat(com_te), low),1).
fact(av(fat(com_nep), low),1).
fact(av(fat(thit_bo_sot_vang), medium),1).
fact(av(fat(thit_bo_xao_dua), medium),1).
fact(av(fat(thit_bo_xien_nuong), medium),1).
fact(av(fat(thit_bo_bit_tet), medium),1).
fact(av(fat(thit_lon_luoc), medium),1).
fact(av(fat(thit_lon_kho_nuoc_dua), high),1).
fact(av(fat(thit_lon_kho_tau), high),1).
fact(av(fat(thit_lon_xao_rau_cai), high),1).
fact(av(fat(thit_lon_rang), medium),1).
fact(av(fat(ga_luoc), high),1).
fact(av(fat(ga_ran), high),1).
fact(av(fat(ga_nau_khoai_tay), high),1).
fact(av(fat(ga_nau_ca_ri), high),1).
fact(av(fat(ga_xao_nam_huong), high),1).
fact(av(fat(xoi_ruoc), medium),1).
fact(av(fat(xoi_gio_cha), medium),1).
fact(av(fat(xoi_thit), medium),1).
fact(av(fat(xoi_lac), high),1).
fact(av(fat(xoi_dau_xanh), medium),1).
fact(av(fat(xoi_dau_den), medium),1).
fact(av(fat(xoi_vo), low),1).
fact(av(fat(xoi_xeo), medium),1).
fact(av(fat(xoi_lua), medium),1).
fact(av(fat(bun_rieu), low),1).
fact(av(fat(bun_oc), low),1).
fact(av(fat(bun_ngan), medium),1).
fact(av(fat(bun_cha), medium),1).
fact(av(fat(bun_thang), low),1).
fact(av(fat(bun_bo_hue), medium),1).
fact(av(fat(bun_bung), low),1).
fact(av(fat(bun_ca), medium),1).
fact(av(fat(pho_bo), medium),1).
fact(av(fat(pho_ga), medium),1).
fact(av(fat(chao_suon), low),1).
fact(av(fat(chao_trai), low),1).
fact(av(fat(chao_ga), medium),1).
fact(av(fat(chao_ca), medium),1).
fact(av(fat(chao_luon), low),1).

%glucose mon an
fact(av(glucose(com_te), high),1).
fact(av(glucose(com_nep), high),1).
fact(av(glucose(thit_bo_sot_vang), low),1).
fact(av(glucose(thit_bo_xao_dua), low),1).
fact(av(glucose(thit_bo_xien_nuong), low),1).
fact(av(glucose(thit_bo_bit_tet), low),1).
fact(av(glucose(thit_lon_luoc), low),1).
fact(av(glucose(thit_lon_kho_nuoc_dua), low),1).
fact(av(glucose(thit_lon_kho_tau), low),1).
fact(av(glucose(thit_lon_xao_rau_cai), low),1).
fact(av(glucose(thit_lon_rang), low),1).
fact(av(glucose(ga_luoc), low),1).
fact(av(glucose(ga_ran), low),1).
fact(av(glucose(ga_nau_khoai_tay), high),1).
fact(av(glucose(ga_nau_ca_ri), low),1).
fact(av(glucose(ga_xao_nam_huong), low),1).
fact(av(glucose(xoi_ruoc), high),1).
fact(av(glucose(xoi_gio_cha), high),1).
fact(av(glucose(xoi_thit), high),1).
fact(av(glucose(xoi_lac), high),1).
fact(av(glucose(xoi_dau_xanh), high),1).
fact(av(glucose(xoi_dau_den), high),1).
fact(av(glucose(xoi_vo), high),1).
fact(av(glucose(xoi_xeo), high),1).
fact(av(glucose(xoi_lua), high),1).
fact(av(glucose(bun_rieu), medium),1).
fact(av(glucose(bun_oc), medium),1).
fact(av(glucose(bun_ngan), medium),1).
fact(av(glucose(bun_cha), medium),1).
fact(av(glucose(bun_thang), medium),1).
fact(av(glucose(bun_bo_hue), medium),1).
fact(av(glucose(bun_bung), medium),1).
fact(av(glucose(bun_ca), medium),1).
fact(av(glucose(pho_bo), medium),1).
fact(av(glucose(pho_ga), medium),1).
fact(av(glucose(chao_suon), high),1).
fact(av(glucose(chao_trai), high),1).
fact(av(glucose(chao_ga), high),1).
fact(av(glucose(chao_ca), high),1).
fact(av(glucose(chao_luon), high),1).

%fiber mon an
fact(av(fiber(com_te), low),1).
fact(av(fiber(com_nep), low),1).
fact(av(fiber(thit_bo_sot_vang), low),1).
fact(av(fiber(thit_bo_xao_dua), low),1).
fact(av(fiber(thit_bo_xien_nuong), low),1).
fact(av(fiber(thit_bo_bit_tet), low),1).
fact(av(fiber(thit_lon_luoc), low),1).
fact(av(fiber(thit_lon_kho_nuoc_dua), low),1).
fact(av(fiber(thit_lon_kho_tau), low),1).
fact(av(fiber(thit_lon_xao_rau_cai), medium),1).
fact(av(fiber(thit_lon_rang), low),1).
fact(av(fiber(ga_luoc), low),1).
fact(av(fiber(ga_ran), low),1).
fact(av(fiber(ga_nau_khoai_tay), low),1).
fact(av(fiber(ga_nau_ca_ri), low),1).
fact(av(fiber(ga_xao_nam_huong), medium),1).
fact(av(fiber(xoi_ruoc), low),1).
fact(av(fiber(xoi_gio_cha), low),1).
fact(av(fiber(xoi_thit), low),1).
fact(av(fiber(xoi_lac), low),1).
fact(av(fiber(xoi_dau_xanh), low),1).
fact(av(fiber(xoi_dau_den), low),1).
fact(av(fiber(xoi_vo), low),1).
fact(av(fiber(xoi_xeo), low),1).
fact(av(fiber(xoi_lua), low),1).
fact(av(fiber(bun_rieu), low),1).
fact(av(fiber(bun_oc), low),1).
fact(av(fiber(bun_ngan), low),1).
fact(av(fiber(bun_cha), low),1).
fact(av(fiber(bun_thang), low),1).
fact(av(fiber(bun_bo_hue), low),1).
fact(av(fiber(bun_bung), low),1).
fact(av(fiber(bun_ca), low),1).
fact(av(fiber(pho_bo), low),1).
fact(av(fiber(pho_ga), low),1).
fact(av(fiber(chao_suon), low),1).
fact(av(fiber(chao_trai), low),1).
fact(av(fiber(chao_ga), low),1).
fact(av(fiber(chao_ca), low),1).
fact(av(fiber(chao_luon), low),1).

%minerals mon an
fact(av(minerals(com_te), low),1).
fact(av(minerals(com_nep), low),1).
fact(av(minerals(thit_bo_sot_vang), low),1).
fact(av(minerals(thit_bo_xao_dua), low),1).
fact(av(minerals(thit_bo_xien_nuong), low),1).
fact(av(minerals(thit_bo_bit_tet), low),1).
fact(av(minerals(thit_lon_luoc), low),1).
fact(av(minerals(thit_lon_kho_nuoc_dua), low),1).
fact(av(minerals(thit_lon_kho_tau), low),1).
fact(av(minerals(thit_lon_xao_rau_cai), low),1).
fact(av(minerals(thit_lon_rang), low),1).
fact(av(minerals(ga_luoc), low),1).
fact(av(minerals(ga_ran), low),1).
fact(av(minerals(ga_nau_khoai_tay), low),1).
fact(av(minerals(ga_nau_ca_ri), low),1).
fact(av(minerals(ga_xao_nam_huong), low),1).
fact(av(minerals(xoi_ruoc), low),1).
fact(av(minerals(xoi_gio_cha), low),1).
fact(av(minerals(xoi_thit), low),1).
fact(av(minerals(xoi_lac), low),1).
fact(av(minerals(xoi_dau_xanh), low),1).
fact(av(minerals(xoi_dau_den), low),1).
fact(av(minerals(xoi_vo), low),1).
fact(av(minerals(xoi_xeo), low),1).
fact(av(minerals(xoi_lua), low),1).
fact(av(minerals(bun_rieu), low),1).
fact(av(minerals(bun_oc), low),1).
fact(av(minerals(bun_ngan), low),1).
fact(av(minerals(bun_cha), low),1).
fact(av(minerals(bun_thang), low),1).
fact(av(minerals(bun_bo_hue), low),1).
fact(av(minerals(bun_bung), low),1).
fact(av(minerals(bun_ca), low),1).
fact(av(minerals(pho_bo), low),1).
fact(av(minerals(pho_ga), low),1).
fact(av(minerals(chao_suon), low),1).
fact(av(minerals(chao_trai), low),1).
fact(av(minerals(chao_ga), low),1).
fact(av(minerals(chao_ca), low),1).
fact(av(minerals(chao_luon), low),1).

%vitamins mon an
fact(av(vitamins(com_te), high),1).
fact(av(vitamins(com_nep), high),1).
fact(av(vitamins(thit_bo_sot_vang), low),1).
fact(av(vitamins(thit_bo_xao_dua), low),1).
fact(av(vitamins(thit_bo_xien_nuong), low),1).
fact(av(vitamins(thit_bo_bit_tet), low),1).
fact(av(vitamins(thit_lon_luoc), low),1).
fact(av(vitamins(thit_lon_kho_nuoc_dua), low),1).
fact(av(vitamins(thit_lon_kho_tau), low),1).
fact(av(vitamins(thit_lon_xao_rau_cai), low),1).
fact(av(vitamins(thit_lon_rang), low),1).
fact(av(vitamins(ga_luoc), low),1).
fact(av(vitamins(ga_ran), low),1).
fact(av(vitamins(ga_nau_khoai_tay), low),1).
fact(av(vitamins(ga_nau_ca_ri), low),1).
fact(av(vitamins(ga_xao_nam_huong), low),1).
fact(av(vitamins(xoi_ruoc), low),1).
fact(av(vitamins(xoi_gio_cha), low),1).
fact(av(vitamins(xoi_thit), low),1).
fact(av(vitamins(xoi_lac), low),1).
fact(av(vitamins(xoi_dau_xanh), high),1).
fact(av(vitamins(xoi_dau_den), low),1).
fact(av(vitamins(xoi_vo), low),1).
fact(av(vitamins(xoi_xeo), low),1).
fact(av(vitamins(xoi_lua), low),1).
fact(av(vitamins(bun_rieu), low),1).
fact(av(vitamins(bun_oc), low),1).
fact(av(vitamins(bun_ngan), low),1).
fact(av(vitamins(bun_cha), low),1).
fact(av(vitamins(bun_thang), low),1).
fact(av(vitamins(bun_bo_hue), low),1).
fact(av(vitamins(bun_bung), low),1).
fact(av(vitamins(bun_ca), low),1).
fact(av(vitamins(pho_bo), low),1).
fact(av(vitamins(pho_ga), low),1).
fact(av(vitamins(chao_suon), low),1).
fact(av(vitamins(chao_trai), low),1).
fact(av(vitamins(chao_ga), low),1).
fact(av(vitamins(chao_ca), low),1).
fact(av(vitamins(chao_luon), low),1).

%calorie mon an
fact(av(calorie(com_te), medium),1).
fact(av(calorie(com_nep), medium),1).
fact(av(calorie(thit_bo_sot_vang), high),1).
fact(av(calorie(thit_bo_xao_dua), high),1).
fact(av(calorie(thit_bo_xien_nuong), high),1).
fact(av(calorie(thit_bo_bit_tet), high),1).
fact(av(calorie(thit_lon_luoc), high),1).
fact(av(calorie(thit_lon_kho_nuoc_dua), high),1).
fact(av(calorie(thit_lon_kho_tau), high),1).
fact(av(calorie(thit_lon_xao_rau_cai), high),1).
fact(av(calorie(thit_lon_rang), high),1).
fact(av(calorie(ga_luoc), high),1).
fact(av(calorie(ga_ran), high),1).
fact(av(calorie(ga_nau_khoai_tay), high),1).
fact(av(calorie(ga_nau_ca_ri), high),1).
fact(av(calorie(ga_xao_nam_huong), high),1).
fact(av(calorie(xoi_ruoc), high),1).
fact(av(calorie(xoi_gio_cha), high),1).
fact(av(calorie(xoi_thit), high),1).
fact(av(calorie(xoi_lac), high),1).
fact(av(calorie(xoi_dau_xanh), high),1).
fact(av(calorie(xoi_dau_den), high),1).
fact(av(calorie(xoi_vo), high),1).
fact(av(calorie(xoi_xeo), medium),1).
fact(av(calorie(xoi_lua), high),1).
fact(av(calorie(bun_rieu), medium),1).
fact(av(calorie(bun_oc), medium),1).
fact(av(calorie(bun_ngan), high),1).
fact(av(calorie(bun_cha), medium),1).
fact(av(calorie(bun_thang), medium),1).
fact(av(calorie(bun_bo_hue), high),1).
fact(av(calorie(bun_bung), medium),1).
fact(av(calorie(bun_ca), medium),1).
fact(av(calorie(pho_bo), medium),1).
fact(av(calorie(pho_ga), medium),1).
fact(av(calorie(chao_suon), medium),1).
fact(av(calorie(chao_trai), medium),1).
fact(av(calorie(chao_ga), medium),1).
fact(av(calorie(chao_ca), medium),1).
fact(av(calorie(chao_luon), medium),1).